# coding=utf-8
import webapp2

class AddPage(webapp2.RequestHandler):
    def get(self):
        try:
            first = int(self.request.get('first'))
            second = int(self.request.get('second'))
            result = first + second
            self.response.headers['Content-Type'] = 'text/html;charset=utf-8'
            self.response.write('GFW 你大爺的遜！ %d' %(result))
            self.response.write('<a href="http://www.chinagfw.org" target="_blank">Anti-GFW</a>')
            self.response.write('''<pre>
            I dont have too much to say!
            How about you?
            </pre>
            ''')
        except Exception as e:
            self.response.write('error ->' + e)
